/**
 * 
 */
package com.yi.model.internal;

import java.util.List;

import com.yi.model.objects.ModelUIConfig;

/**
 * @author long
 *
 */
public interface IModelUIConfigApi {
	/**
	 * 
	 * @param modelType
	 */	
	public String create(final ModelUIConfig modelType);
	
	public ModelUIConfig view(final String id);
	
	public ModelUIConfig viewByName(final String name);
	
	public void update(final ModelUIConfig modelType);
	
	public void delete(final String id);
	
	public List<ModelUIConfig> list(final int modelTypeId);
}
